package com.dao.secondary.device;
import com.model.domain.device.GetDeviceTypeDO;
import com.model.pojo.device.DeviceType;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DeviceTypeMapper {
    int deleteByPrimaryKey(@Param("deviceTypeId") Long deviceTypeId);

    int insert(DeviceType record);

    int insertSelective(DeviceType record);

    DeviceType selectByPrimaryKey(@Param("id") Integer id);

    int updateByPrimaryKeySelective(DeviceType record);

    int updateByPrimaryKey(DeviceType record);

    List<DeviceType> selectList(GetDeviceTypeDO getdeviceTypeDO);

    void insertListSelective(List<DeviceType> deviceTypeList);

    void updateListSelective(List<DeviceType> deviceTypeList);

    int has(@Param("deviceTypeId") Long deviceTypeId, @Param("isDelete") Byte isDelete);
}